package flc.ast.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.bumptech.glide.Glide;

import flc.ast.BaseAc;
import flc.ast.R;
import flc.ast.databinding.ActivityImgRecordDetailBinding;
import stark.common.basic.event.EventStatProxy;

public class ImgRecordDetailActivity extends BaseAc<ActivityImgRecordDetailBinding> {

    public static String imgPath;

    @Override
    protected int onCreate() {
        return R.layout.activity_img_record_detail;
    }

    @Override
    protected void initView() {
        EventStatProxy.getInstance().statEvent1(this, mDataBinding.event1Container);

        mDataBinding.ivImgRecordDetailBack.setOnClickListener(v -> onBackPressed());
    }

    @Override
    protected void initData() {
        Glide.with(mContext).load(imgPath).into(mDataBinding.ivImgRecordDetailImg);

    }
}